#include "dialog.h"


Sru::Sru(QWidget* parent)
    : QDialog(parent)
 {
    //QWidget window;
    //dialoglabel = new QLabel(tr("Smutna etykieta :("), this);
    //QListWidget *listWidget = new QListWidget(this);
    //new QListWidgetItem(tr("Oak"), listWidget);
    //     new QListWidgetItem(tr("Fir"), listWidget);
    //     new QListWidgetItem(tr("Pine"), listWidget);
    tableWidget = new QTableWidget(0, 3, this);
    tableWidget->setSelectionBehavior(QAbstractItemView::SelectRows);

    QStringList labels;
    labels << tr("Directory") << tr("File Name") << tr("Size");
    tableWidget->setHorizontalHeaderLabels(labels);
    tableWidget->horizontalHeader()->setResizeMode(0, QHeaderView::Stretch);
    tableWidget->verticalHeader()->hide();
    tableWidget->setShowGrid(false);
    //QTableWidgetItem *newItem = new QTableWidgetItem(tr("tumba"));
    //tableWidget->setItem(0, 0, newItem);


    setMinimumSize(200, 200);
}
